package com.nuanshui.heatedloan.fund.model;

import com.nuanshui.heatedloan.dal.BaseEntityImpl;

import java.util.Date;


public class SystemCurrency extends BaseEntityImpl{
	private static final long serialVersionUID = 1L;
	private Date createdAt;//创建时间
	private Long price;//充值数额，刚开始存放的是用户实际支付的钱，，支付成功后回到时会更新成购买玉币数+系统返回的玉币数
	private String userId;//人id
	private Integer status;//0创建  10完成  订单的状态
	private String dealNum;//交易号，，订单号13位数字组成
	private String bizId;//相关的业务id
	private Long totalPrice;//保存用户下单时生成订单的充值总额    充玉币数+系统返回的玉币数
	private Integer type;//0代表充值玉币   1代表充值余额.........
	private String ruleId;//玉币充值规则id来源于jade_money_rule表的id，用于记录用户是否参加过此规则，现在充值只送一次
	
	
	public String getRuleId() {
		return ruleId;
	}
	public void setRuleId(String ruleId) {
		this.ruleId = ruleId;
	}
	@Override
	public Date getCreatedAt() {
		return createdAt;
	}
	@Override
	public void setCreatedAt(Date createdAt) {
		this.createdAt = createdAt;
	}
	public Long getPrice() {
		return price;
	}
	public void setPrice(Long price) {
		this.price = price;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getDealNum() {
		return dealNum;
	}
	public void setDealNum(String dealNum) {
		this.dealNum = dealNum;
	}
	public String getBizId() {
		return bizId;
	}
	public void setBizId(String bizId) {
		this.bizId = bizId;
	}
	public Long getTotalPrice() {
		return totalPrice;
	}
	public void setTotalPrice(Long totalPrice) {
		this.totalPrice = totalPrice;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
}
